package ch.fusun.baron.server.rmi;

import ch.fusun.baron.data.DataProvider;

/**
 * Game state related actions
 */
public interface GameStateService extends DataProvider {

	/**
	 * @return the current server phase
	 */
	ServerPhase current();

	/**
	 * @param newPhase
	 *            phase to transition to
	 */
	void transitionTo(ServerPhase newPhase);

}
